package com.myw.mail.domain;

import java.util.Date;

import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 生产加工信息对象 t_product_trace
 * 
 * @author myw
 * @date 2025-07-10
 */
@Data
@TableName("t_product_trace")
public class ProductTrace extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long id;

    /** 商品ID */
    private Long productId;

    /** 生产批次号 */
    @Excel(name = "生产批次号")
    private String batchNo;

    /** 生产日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "生产日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date productionDate;

    /** 质检报告URL */
    @Excel(name = "质检报告URL")
    private String qcReport;

    /** 原材料溯源信息 */
    @Excel(name = "原材料溯源信息")
    private String materialSource;


}
